package cn.zyq.ykb.controller.h5.config;

import cn.zyq.ykb.beans.config.ConfigCpa;
import cn.zyq.ykb.service.config.ConfigCpaService;
import cn.zyq.ykb.system.annotation.Log;
import cn.zyq.ykb.system.common.BaseController;
import cn.zyq.ykb.system.common.PageParam;
import cn.zyq.ykb.system.ry.enums.BusinessType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 配置-网赚Controller
 *
 * @author SystemAuth
 * @date 2024-01-11
 */

@RestController(value = "H5ConfigCpaController")
@RequestMapping("/api/configCpa")
@Api(tags = "配置-网赚接口")
public class ConfigCpaController extends BaseController {

    @Autowired
    private ConfigCpaService configCpaService;

    /**
     * 查询配置-网赚列表
     */
    @ApiOperation(value = "列表", response = ConfigCpa.class)
    @PostMapping("/list")
    public Object list(@RequestBody PageParam pageParam) {
        return this.configCpaService.selectConfigCpaList(pageParam);
    }


}
